<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in.0</name>
<id>-1</id>
<cardCount>1</cardCount>
<cardID>3964</cardID>
<listID>2873</listID>
<cantModify><false /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>512</width>
<height>342</height>
</cardSize>
<script>on keyDown theKey
global gSearch, gFoundCds
if gSearch is true and the selectedLoc is empty then -- need "is true" when gSearch isn't initialized; the selectedLoc is not empty when insertion pt is in field
put chartonum(theKey) into theNum
if theNum >= 65 and theNum <= 122 then
put theKey after the message box
click at -1000,1000
find the message box
if the result is not empty then answer quote & the message box & quote && "was not found."
put the number of this card & "," after gFoundCds
else if theNum = 8 then --delete key
delete the last item of gFoundCds
go cd the last item of gFoundCds
click at -1000,1000
delete the last char of the message box
if the message box is empty then exit keyDown
find the message box
else if theNum = 13 or theNum = 101 then --ignore return and enter
find the message box
if the result is not empty then answer quote & the message box & quote && "was not found."
put the number of this card & "," after gFoundCds
else pass keyDown
else pass keyDown
end keyDown
on controlKey theKey
global gSearch, gFoundCds
if theKey = 19 then --it's "s"
if gSearch is not true then put true into gSearch -- need "is not true" when gSearch isn't initialized